package com.kajespero.service.template.impl;

import java.util.Map;

import com.kajespero.dao.template.impl.TemplateDAOImpl;
import com.kajespero.domain.template.impl.TemplateDomainImpl;
import com.kajespero.model.TemplateBean;
import com.kajespero.service.commons.impl.AbstractReadWriteService;
import com.kajespero.service.template.TemplateService;
import com.kajespero.vo.TemplateVO;

public class TemplateServiceImpl extends AbstractReadWriteService<TemplateDomainImpl,TemplateDAOImpl,TemplateBean,Long> implements TemplateService{

	@Override
	public String parseTemplate(TemplateVO template, Map<String, Object> map) {
		return getDomain().parseTemplate(template, map);
	}

	@Override
	public TemplateBean findByName(String name) {
		return getDomain().findByName(name);
	}

}
